<!DOCTYPE html>
<html
  layout:decorator="components/layout"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  xmlns:th="http://www.thymeleaf.org"
  lang="zh-CN"
>
<head>
  <title>安全日志详情</title>
</head>
<body>
<div
  layout:fragment="content"
  class="container"
  id="app" v-cloak
>
  <!--引入边框角-->
  <div th:replace="components/common-border-bg::common-border-bg"></div>
  <div class="con_mid">
    <div class="section-title"><i class="tit_ico1"></i>安全日志详情
      <a
        href=""
        class="add"
        @click.stop.prevent="() => returnSuper()"
      >返回列表</a></div>
    <table
      width="100%"
      border="1"
      class="detail-table"
      cellspacing="0"
      cellpadding="0"
    >
      <tbody>
      <tr>
        <td
          width="100"
          class="TitleTD"
        >事件类型
        </td>
        <td class="ContentTD">{{tlogSecurityVo.eventTypeStr}}</td>
      </tr>
      <tr>
        <td class="TitleTD">事件结果</td>
        <td class="ContentTD">{{tlogSecurityVo.eventResult}}</td>
      </tr>
      <tr>
        <td class="TitleTD">用户名</td>
        <td class="ContentTD">
          <a href="/">{{tlogSecurityVo.loginName}}</a>
        </td>
      </tr>
      <tr>
        <td class="TitleTD">用户类型</td>
        <td class="ContentTD">
          <div v-for="sysUserRole in tlogSecurityVo.sysUserRoleList">
            {{fieldFormatter.generator(sysRoleMap)(sysUserRole.roleId)}}
          </div>
        </td>
      </tr>
      <tr>
        <td class="TitleTD">来源IP</td>
        <td class="ContentTD">{{tlogSecurityVo.sourceIp}}</td>
      </tr>
      <tr>
        <td class="TitleTD">进程号</td>
        <td class="ContentTD">{{tlogSecurityVo.processId}}</td>
      </tr>
      <tr>
        <td class="TitleTD">发生位置</td>
        <td class="ContentTD">{{tlogSecurityVo.location}}</td>
      </tr>
      <tr>
        <td class="TitleTD">时间</td>
        <td class="ContentTD">{{tlogSecurityVo.actTimeStr}}</td>
      </tr>
      <tr>
        <td class="TitleTD">消息</td>
        <td class="ContentTD">{{tlogSecurityVo.message}}</td>
      </tr>
      </tbody>
    </table>
    <div class="button">
      <input
        type="submit"
        class="btn_common"
        value="<<上一个"
        @click="previousPage()"
      >
      <input
        type="submit"
        class="btn_common next"
        value=">>下一个"
        @click="nextPage()"
      >
    </div>
  </div>
</div>
<div layout:fragment="js">
  <script src="/static/js/module/tlog/model/TlogSecurity.js"></script>
  <script src="/static/js/module/tlog/api/tlogSecurityApi.js"></script>
  <script src="/static/js/module/system-config/api/sysRoleApi.js"></script>
  <script src="/static/js/module/tlog/see/admin_security_securitylogdetail.js"></script>
</div>
</body>
</html>
